<!DOCTYPE html>
<html>
<head>
    <title></title>
    <meta charset="utf-8">
    <script src="/async.js" class="script-hammerhead-shadow-ui"></script>
    <script src="/hammerhead.js" class="script-hammerhead-shadow-ui"></script>
    <script src="/core.js" class="script-hammerhead-shadow-ui"></script>
    <script src="/automation.js" class="script-hammerhead-shadow-ui"></script>
    <script src="/ui.js" class="script-hammerhead-shadow-ui"></script>
    <script src="/jquery.js" class="script-hammerhead-shadow-ui"></script>

    <link type="text/css" rel=stylesheet href="/ui.css" class="ui-stylesheet-hammerhead-shadow-ui">
</head>
<body>
<script type="text/javascript">
    var hammerhead = window['%hammerhead%'];
    var settings = hammerhead.get('./settings');

    settings.get().crossDomainProxyPort = 2000;

    var testCafeCore = window['%testCafeCore%'];

    (function (isIFrameWindowInDOM, window, JSON) {
        window.addEventListener('message', function (event) {
            if (event.data === 'isIFrameWindowInDOM')
                event.source.postMessage(JSON.stringify({ message: isIFrameWindowInDOM(window).toString() }), '*');

        }, false);
    })(testCafeCore.domUtils.isIFrameWindowInDOM, window, JSON);
</script>
</body>
</html>
